-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new dashboard/assets #2607
base: main
Are you sure you want to change the base?
Add new dashboard/assets #2607
Conversation
PR deployed in Google Cloud |
PR deployed in Google Cloud |
a6ef4d3
to
5e7a8c8
Compare
@@ -157,13 +157,13 @@ export function AssetTransactions({ pool }: { pool: Pool }) { | |||
}) | |||
} | |||
} | |||
}, [transactions, setCsvData]) | |||
}, [transactions, setCsvData, explorer]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
explorer
shouldn't be here, because it's not stable. Would just eslint ignore instead
children: ReactNode | ||
} | ||
|
||
export const SelectedPoolsProvider: React.FC<SelectedPoolsProviderProps> = ({ children }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
React.FC is obsolete
centrifuge-app/src/utils/useLoans.ts
Outdated
return loans?.find((loan) => loan.id === assetId) | ||
} | ||
|
||
export function useAvailableFinancing(poolId: string, assetId: string) { | ||
const isTinlakePool = poolId.startsWith('0x') | ||
const isTinlakePool = poolId.length === 1 && poolId[0].startsWith('0x') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const isTinlakePool = poolId.startsWith('0x')
seems fine here, as poolId
is not an array here
541b922
to
915c940
Compare
2b5c5f5
to
43429eb
Compare
43429eb
to
cf45d42
Compare
340df13
to
7e7b8c0
Compare
Description
This pull request...
#
Approvals
Screenshots
Impact